	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=8" />
	<title><!--%nom_fonction%--></title>
	<link rel="stylesheet" type="text/css" href="../../css/main.css" />
	<link rel="stylesheet" type="text/css" href="<!--%css_module%-->" />
				<!--[if IE 7]>
	            	<link rel="stylesheet" type="text/css" href="../../css/ie7.css" />
	            	<link rel="stylesheet" type="text/css" href="form_ie7.css" />
	            <![endif]-->
				<!--[if IE 8]>
					<link rel="stylesheet" type="text/css" href="../../css/ie7.css" />
				<![endif]-->
	<script language="Javascript">
	                function modifier(choix){
	                    var modifAct = document.getElementById("modifAct");id="modifActGp"
						var visuaAct = document.getElementById("VisuaAct");
	                    modifAct.href = "<!--%url_modifier%-->" + choix;
						visuaAct.href = "<!--%url_visualiser%-->" + choix + "&id=1";
	                }
					function modifier2(choix){
						var modifActGp = document.getElementById("modifActGp");
						var visuaActGp = document.getElementById("visuaActGp");
						modifActGp.href = "paiement/index.php?Identifiant_personne=" + choix;
						visuaActGp.href = "paiement/index.php?Identifiant_personne=" + choix + "&id=1";
					}
	</script>
	<script language="Javascript"type="text/JavaScript">
		// Requette AJAX
		function makeRequest(url,id_niveau,id_ecrire)
		{
			var http_request = false;
			//créer une instance (un objet) de la classe désirée fonctionnant sur plusieurs navigateurs
			if (window.XMLHttpRequest) 
			{ 	// Mozilla, Safari,...
				http_request = new XMLHttpRequest();
				if (http_request.overrideMimeType) 
				{
					http_request.overrideMimeType('text/xml');//un appel de fonction supplémentaire pour écraser l'en-tête envoyé par le serveur, juste au cas oùi il ne s'agit pas de text/xml, pour certaines versions de navigateurs Mozilla
				}
			} else if (window.ActiveXObject) 
			{ // IE
				try 
				{
					http_request = new ActiveXObject("Msxml2.XMLHTTP");
				} catch (e) 
				{
					try 
					{
						http_request = new ActiveXObject("Microsoft.XMLHTTP");
					} catch (e) {}
				}
			}
		
			if (!http_request) 
			{
				alert('Abandon :( Impossible de créer une instance XMLHTTP');
				return false;
			}
			http_request.onreadystatechange = function() { traitementReponse(http_request,id_ecrire); } //affectation fonction appelée qd on recevra la reponse
			
			// lancement de la requete
			http_request.open('POST', url, true);
			//changer le type MIME de la requête pour envoyer des données avec la méthode POST , !!!! cette ligne doit etre absolument apres http_request.open('POST'....
			http_request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
			obj= document.getElementById(id_niveau);
			data="val_sel="+obj.value;
			http_request.send(data);
		}
		
		function traitementReponse(http_request,id_ecrire) 
		{
			var affich="";
			if (http_request.readyState == 4) 
			{
				if (http_request.status == 200) 
				{
					// cas avec reponse de PHP en mode texte:
					//chargement des elements reçus dans la liste
					var affich_list=http_request.responseText;
					obj = document.getElementById(id_ecrire);
					obj.innerHTML = affich_list;
				}
				else 
				{
					alert('Un problème est survenu avec la requête.');
				}
			}
		}
	</script>
	</head>
	
	<body>
		<div id="sf_menu1">	
			<h3><!--%nom_module%--></h3>	
			<div id="information_erreur" class="false">
        		<ul id="message">
        			<!--%loop:messages%-->
        			<li><!--%message%--></li>
        			<!--%endLoop:messages%-->
        		</ul>
      		</div>
		</div>
		
		<div class="cleared"></div>
		
		<div class="corps1">
			
			<form action="<!--%edit_action%-->" method="post" name="form1" id="form1">
				<div class="form1">
					<span>N&#176; CONTRAT :</span>
			      	<input class="resize_1" type="text" id="ONN_numero_contrat" name="ONN_numero_contrat" value="<!--%num_contrat%-->" style="width:170px"  maxlength="20" />
			        <div class="bt "><span class="btleft"></span><input type="submit" value="Rechercher" class="resizeall btmiddle" /><span class="btright"></span></div>
				</div>
				<input type="hidden" name="MM_rechercher" value="form1" />
			</form>
			<div class="cleared"></div>
			<div id="br"></div>
			<!--/***************************************/-->
			<div class="imgleft2"></div>
			<div class="imgmiddle2">
				<div class="btn">
		        	<span class="btnleft"></span>
		            <span class="btnmiddle"><h5><!--%nom_fonction%--></h5></span>
		            <span class="btnright"></span>
		        </div>
				<div class="btn1">
		        	<span class="btnleft"></span>
		            <span class="btnmiddle"><h5><!--%nom_liste%--></h5></span>
		            <span class="btnright"></span>
		        </div>
				<div class="cleared" ></div>
				
					<div align=left>
						<span id="title" ><!--%element_principal%-->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
					</div >
					<table class="tab_liste">
				  		<tr id="niv1">
			  				<!--%loop:colonne_princ%-->
			    			<td class="col<!--%num_colonne_princ%-->"><!--%nom_colonne_princ%--></td>
			    			<!--%endLoop:colonne_princ%-->	
				  		</tr>
				  		<!--%loop:tabcol%-->
						<tr class="colorligne">
				      			<!--%if:isset($['num_col_princ_1'])%--><td class="col1"><!--%val_ligne_princ_1%--></td><!--%endIf%-->
				      			<!--%if:isset($['num_col_princ_2'])%--><td class="col2"><!--%val_ligne_princ_2%--></td><!--%endIf%-->
				      			<!--%if:isset($['num_col_princ_3'])%--><td class="col3"><!--%val_ligne_princ_3%--></td><!--%endIf%-->
				      			<!--%if:isset($['num_col_princ_4'])%--><td class="col4"><!--%val_ligne_princ_4%--></td><!--%endIf%-->
				    	</tr>
						<!--%endLoop:tabcol%-->
					</table>
				
				<div class="content_table bright">
					<div align=left>
						<span id="title" ><!--%element_second%-->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
					</div >
					<table class="tab_liste">
				  		<tr id="niv1">
				  			<td class="col1">&nbsp;</td>
			  				<!--%loop:colonne%-->
			    			<td class="col<!--%num_colonne%-->"><!--%nom_colonne%--></td>
			    			<!--%endLoop:colonne%-->	
				  		</tr>
					</table>
				   	
					<table class="tab_list">	
	    					<!--%loop:tablist%-->
							<tr <!--%if:isset($['color'])%-->class="colorligne"<!--%endIf%--> >
				      			<td class="col1">
				      				<input type="radio" name="choix" id="choix" onChange="makeRequest('rep_ajaxphp1.php','choix','choix23')" value="<!--%id_ligne%-->" <!--%if:isset($['checked'])%-->checked="checked"<!--%endIf%--> />
				      			</td>
				      			<!--%if:isset($['num_colonne_2'])%--><td class="col2"><!--%val_ligne_2%--></td><!--%endIf%-->
				      			<!--%if:isset($['num_colonne_3'])%--><td class="col3"><!--%val_ligne_3%--></td><!--%endIf%-->
				      			<!--%if:isset($['num_colonne_4'])%--><td class="col4"><!--%val_ligne_4%--></td><!--%endIf%-->
				      			<!--%if:isset($['num_colonne_5'])%--><td class="col5"><!--%val_ligne_5%--></td><!--%endIf%-->
				    		</tr>
							<!--%endLoop:tablist%-->	
	    			</table>
					
					<div align=left>
						<span id="title" ><!--%element_ter%-->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
					</div >
					<table class="tab_liste">
				  		<tr id="niv1">
				  			<td class="col1">&nbsp;</td>
			  				<!--%loop:colonne_ter%-->
			    			<td class="col<!--%num_col_ter%-->"><!--%nom_col_ter%--></td>
			    			<!--%endLoop:colonne_ter%-->	
				  		</tr>
					</table>
				  
					<table class="tab_list">	
	    					<!--%loop:tablist2%-->
							<tr <!--%if:isset($['color'])%-->class="colorligne"<!--%endIf%--> >
				      			<td class="col1">
				      				<input onClick="modifier(this.value);" type="radio" name="choix2" id="choix2" value="<!--%id_ligne%-->" <!--%if:isset($['checked2'])%-->checked="checked"<!--%endIf%--> />
				      			</td>
				      			<!--%if:isset($['num_colonne_2'])%--><td class="col2"><!--%val_ligne_2%--></td><!--%endIf%-->
				      			<!--%if:isset($['num_colonne_3'])%--><td class="col3"><!--%val_ligne_3%--></td><!--%endIf%-->
				      			<!--%if:isset($['num_colonne_4'])%--><td class="col4"><!--%val_ligne_4%--></td><!--%endIf%-->
				      			<!--%if:isset($['num_colonne_5'])%--><td class="col5"><!--%val_ligne_5%--></td><!--%endIf%-->
				    		</tr>
							<!--%endLoop:tablist2%-->
							
	    				</table>
				</div>
				<div id="buttonright"><span class="btleft"></span><span class="btmiddle"><a id="modifAct" href="#">Modifier</a></span><span class="btright"></span></div>
				<div id="buttonright"><span class="btleft"></span><span class="btmiddle"><a id="VisuaAct" href="#">Visualiser</a></span><span class="btright"></span></div>
				<div class="bt1 check">
					<!--%if:<!--%bIntervenant%-->==true%-->
					<input type="checkbox" name="intervenant" id=""intervenant"" value=""/> <span>Intervenants</span>
					<!--%endIf%-->
		
					<!--%if:<!--%bPaiement%-->==true%-->
					<input type="checkbox" name="paiement" id="paiement" value=""/> <span>PAIEMENT</span>
					<!--%endIf%-->
				
					<!--%if:<!--%bGarantOption%-->==true%-->
					<input type="checkbox" name="garantoption" id="garantoption" value=""/> <span>Garanties optionnelles</span>
					<!--%endIf%-->
				</div>
				
			</div>
			<div class="imgright2"></div>
			<div id="br"></div>
			<div class="bt1">
				<a href="<!--%url_annuler%-->">
				<span class="btleft"></span>
				<span class="btmiddle">Annuler</span>
				<span class="btright"></span></a>
			</div>	
			<div class="bt1">
				<a href="<!--%url_retour%-->">
				<span class="btleft"></span>
				<span class="btmiddle">Retour</span>
				<span class="btright"></span>
				</a>
			</div>
	     
		</div>
	</body>
</html>